// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui'
import vueresource from 'vue-resource';
import 'element-ui/lib/theme-chalk/index.css'
import form from 'vue-resource/src/http/interceptor/form';
import Axios from 'axios/index'

//Vue.use代表使用某个组件
Vue.use(ElementUI)
Vue.prototype.$http=Axios
Vue.config.productionTip = false
Vue.use(vueresource)
Vue.use(form)

//Axios.defaults.baseURL='http://localhost:8080/showScheduledList'


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
